--[[
通用Conditional节点
--]]
BTConditionalUniversal = BTConditional:New()

local this = BTConditionalUniversal
this.name = "Conditional Task"

function this:New(checkFunc)
	local o = {}
	setmetatable(o, self)
	self.__index = self
	o.checkFunc = checkFunc
	return o
end

function this:Check()
	return self.checkFunc()
end